<div class="blockcms" id="main_content">
    <div class="blocktitle">
        <h3>
            <div style="float:left">
        <?php
        $currentPage = $this->currentPage;

        if ($currentPage) {
            // check exists parent
            if ($currentPage['all_parent']) {
                $allParent = explode(',', $currentPage['all_parent']);
                if (isset($allParent[0])) {
                    $allCategory = $this->allCategory;
                    foreach($allParent as $parentID):
                        $parent = $allCategory[$parentID];
                        // check to ignore root
                        if ($parent['left'] != 1) {
                        ?>
                            <a href="<?php echo BASE_PATH . '/' . CURR_APP ?>?pid=<?php echo $parent['category_id']?>"><?php echo $parent['admin_title'];?></a> >
                        <?php
                        }
                    endforeach;
                }
                echo @$currentPage['admin_title'];
            }
        }
        ?>

            </div>
            <div style="float:right">
                <?php
                $config = Vnf::getConfigs('conf');
                $download_id = @$config->download_id;
                if ($download_id > 0) {
                    $allCategory = $this->allCategory;
                    $download = @$allCategory[$download_id];
                ?>
                <a href="<?php echo BASE_URL;?>?pid=<?=$download_id?>">Download Speisekarte</a>
                <?php
                }
                ?>
            </div>
            <div style="clear:both;"></div>
        </h3>
    </div>

        <div style="height:20px"></div>

        <script type="text/javascript" src="<?=JS_PATH?>/swfobject.js"></script>
        <center>
            <div class="slider_container">
            <link rel="stylesheet" href="<?php echo JS_PATH;?>/jquery/slideform/css/style.css" type="text/css" media="screen">
            <div id="wrapper">
                <div id="steps" style="min-height:50px">
                <div style="padding-top:20px;"></div>

                <div id="container<?=$this->cid?>"><a href="">Get the Flash Player</a> to see this.</div>
                <script type="text/javascript">
                    var s1 = new SWFObject("<?=JS_PATH?>/imagerotator.swf","rotator","566","300","3");
                    s1.addParam("allowfullscreen","true");
                    s1.addVariable("file","<?=BASE_URL?>/index/index/imggallery/?cid=<?=$this->cid?>");
                    s1.addVariable("width","620");
                    s1.addVariable("height","280");
                    s1.addParam("wmode", "transparent");
                    s1.write("container<?=$this->cid?>");
                </script>
            </div>
            </div>
            </div>
        </center>
